import request from '@/utils/request'

export function getEnums(platformName, env) {
  return request({
    url: '/console/getEnums',
    method: 'get',
    params: { platformName, env }
  })
}

export function queryTraceInfo(data) {
  return request({
    url: '/console/queryTraceInfo',
    method: 'post',
    data
  })
}

export function queryJavaLog(data) {
  return request({
    url: '/console/queryJavaLog',
    method: 'post',
    data
  })
}
